package com.daofree.gulimall.member;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ClassName GulimallMemberApplication
 * @Description: 会员系统
 *                  远程调用步骤
 *                  1.引入openfeign依赖
 *                  2.编写一个调用远程的接口，给springcloud
 *                      在接口中编写需要调用远程服务的某某请求
 *                  3.开启feign远程调用功能EnableFeignClients
 *
 * @Author DaoTianXia
 * @Date 2020-12-28-19:33
 * @Version V1.0
 **/
@EnableFeignClients(basePackages = "com.daofree.gulimall.member.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class GulimallMemberApplication {
    public static void main(String[] args) {
        SpringApplication.run(GulimallMemberApplication.class, args);
    }
}
